package com.handydata.antifraud.enums;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum RiskFromEnum implements Comment {

    SHBANK_RECEIVE_DATA_OK("0000","请求成功"),
    HANDY_DATA_HAS_MATTER("0002","翰迪数据有问题");

    private String code;
    private String text;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getText() {
        return text;
    }
}
